package com.itheima.mapper;

import com.itheima.pojo.OrderSetting;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface OrderSettingMapper {
    int countByDate(@Param("orderDate") String orderDate);

    void update(OrderSetting orderSetting);

    void insert(OrderSetting orderSetting);

    List<OrderSetting> findByMonth(@Param("start") String start, @Param("end") String end);
}
